import Vue from 'vue'
import VueRouter from 'vue-router'
import List from '@/views/List'

Vue.use(VueRouter)


const router = new VueRouter({
    routes: [{
        path: '/',
        component: List
    }, {
        path: '/list/:day',
        component: () =>
            import ('@/views/List')
    }]
})

export default router